﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryEdit.ascx.cs"
    Inherits="controls_admin_CategoryEdit" %>
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>
            Cập nhật danh mục
        </h5>
        <div class="search">
            <div class="input">
            </div>
            <div class="button">
            </div>
        </div>
    </div>
    <!-- end box / title -->
    <div id="divMessage" runat="server" />
    <div class="form">
        <div class="fields">
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Danh mục cha:</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlParent" CssClass="select" runat="server" AppendDataBoundItems="true">
                        <asp:ListItem Text="Danh mục mới" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <div class="note" id="NOTE_CATE_CATE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Tên danh mục:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFullCategoryName" runat="server" CssClass="cateName medium" MaxLength="500" />
                    <div class="note" id="NOTE_CATE_TITLE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Mô tả:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFullCategoryDescription" runat="server" CssClass="large description"
                        MaxLength="1000" />
                    <div class="note" id="NOTE_CATE_DESCRIPT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Icon:</label>
                </div>
                <div class="input">
                    <asp:FileUpload ID="fulIcon" CssClass="file" runat="server" />
                    <div runat="server" id="divIcon" class="image">
                    </div>
                    <div class="note" id="NOTE_ICON" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Thứ tự hiển thị:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtSortDisplay" runat="server" Width="50px" CssClass="number required"
                        Text="1" MaxLength="5" />
                    <div class="note" id="NOTE_CATE_SORT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label>
                        Hiển thị:</label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="cboDisOnHome" runat="server" />
                    <div class="note" id="NOTE_CATE_DISPLAY" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label>
                        Menu:</label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="cboMenu" runat="server" />
                    <div class="note" id="NOTE_CATE_MENU" runat="server" />
                </div>
            </div>
            <div class="buttons">
                <div class="button highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Cập nhật" OnClick="btnSubmit_Click" />
                </div>
                <input type="reset" value="Làm lại" />
            </div>
        </div>
    </div>
</div>
